package cn.rcth.base.mapper;

import cn.rcth.base.domain.Delivery;
import java.util.List;

public interface DeliveryMapper {
    int insert(Delivery record);

    List<Delivery> selectAll();

    /**
     * 根据订单id 查询物流信息
     * @param id
     * @return
     */
    Delivery selectDeliveryByOrderId(Long id);

    /**
     * 修改物流
     * @param delivery
     */
    void update(Delivery delivery);
}